//印象笔记支付
export class VirtualPayment {
  pay(payParams) {
    return new Promise((resolve, reject) => {
      try {
        window.wx.callAppPay({ payParams: payParams });
        resolve({});
      } catch (error) {
        reject(error);
      }
    });
  }
}
